
Addr.getProvinces = function () {
	
	
	
};

Addr.getProvince = function (provinceId) {
	
	var province = "";
	$.each(Addr.provinces,function (i){
		if ($(this).attr("code")==provinceId){
			province = $(this);
			return false;
		}
	});
	return province;
};

Addr.getCitys = function (provinceId) {
	
	var result ;
	$.each(Addr.provinces,function (i){
		if ($(this).attr("code")==provinceId){
			result = $(this).attr("citys");
			return false;
		}
	});
	return result;
};

Addr.getCity = function (provinceId,cityId) {
	var result ;
	$.each(Addr.getCitys(provinceId),function (i){
		
		if ($(this).attr("code")==cityId){
			result = $(this);
			return false;
		}
	});
	return result;
};

Addr.getAreas = function (provinceId,cityId){
	
	return Addr.getCity(provinceId,cityId).attr("areas");
	
};

Addr.getArea = function (provinceId,cityId,ereaId) {
	
};

